package org.springframework.session;

import reactor.core.publisher.Mono;

public interface ReactiveSessionRepository<S extends Session> {

	Mono<S> createSession();

	Mono<Void> save(S session);

	Mono<S> findById(String id);

	Mono<Void> deleteById(String id);
}
